package com.zhcd.sys.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author feifei
 * @since 2021-12-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Manage对象", description="")
public class Manage implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户id")
    @TableId(value = "Accid", type = IdType.ASSIGN_ID)
    private String accid;

    @ApiModelProperty(value = "登录账号")
    @TableField("Loginname")
    private String loginname;

    @ApiModelProperty(value = "登录密码")
    @TableField("LoginPwd")
    private String loginpwd;

    @ApiModelProperty(value = "注册时间")
    @TableField("RegDate")
    private Date regdate;

    @ApiModelProperty(value = "账号状态(0正常,1停用)")
    @TableField("IsStatus")
    private Integer isstatus;

    @ApiModelProperty(value = "账号等级")
    @TableField("Level")
    private Integer level;

    @ApiModelProperty(value = "关联角色id")
    @TableField("Role")
    private Integer role;

    @ApiModelProperty(value = "登录时间")
    @TableField("Logindate")
    private Date logindate;

    @ApiModelProperty(value = "登录错误次数")
    @TableField("ErrorCount")
    private Integer errorcount;

    @ApiModelProperty(value = "登录总次数")
    @TableField("Logincount")
    private Integer logincount;

    @ApiModelProperty(value = "昵称")
    @TableField("Nickname")
    private String nickname;

    @ApiModelProperty(value = "手机号")
    @TableField("Phone")
    private String phone;

    @ApiModelProperty(value = "性别(0女,1男)")
    @TableField("Sex")
    private Integer sex;

    @ApiModelProperty(value = "工作单位")
    @TableField("Address")
    private String address;

    @ApiModelProperty(value = "省份")
    @TableField("Province")
    private String province;

    @ApiModelProperty(value = "市")
    @TableField("City")
    private String city;

    @ApiModelProperty(value = "区")
    @TableField("Area")
    private String area;

    @ApiModelProperty(value = "医院id")
    @TableField("HospitalId")
    private String hospitalid;

    @ApiModelProperty(value = "医院名称")
    @TableField("HospitalName")
    private String hospitalname;


}
